import Layout from '@/layout/index.vue'

const accoutRoutes = [
  {
    path: '/account-management',
    component: Layout,
    meta: { title: '财务管理', icon: 'https://web-img-l.oss-cn-beijing.aliyuncs.com/supply-chain/account-icon.png' },
    children: [
      {
        path: 'account-detail',
        component: () => import('@/views/account-management/account-detail/index.vue'),
        name: 'accountdetail',
        meta: { title: '账户明细' }
      },
      {
        path: 'withdraw',
        component: () => import('@/views/account-management/withdraw/index.vue'),
        name: 'withdraw',
        meta: { title: '账户提现' }
      },
      {
        path: 'withdraw-detail',
        component: () => import('@/views/account-management/withdraw-detail/index.vue'),
        name: 'withdrawdetail',
        meta: { title: '提现明细' }
      },
      {
        path: 'collection-account',
        component: () => import('@/views/account-management/collection-account/index.vue'),
        name: 'collectionaccount',
        meta: { title: '收款账户设置' }
      }
    ]
  }
]

export default accoutRoutes
